import request from '@/utils/request'

/**
 * 根据分类等级分页查询分类集合(查询一级分类)
 */
export const queryPageListByLevel = (pageNo, pageSize) => {
	var params = new URLSearchParams();
	params.append('pageNo', pageNo);
	params.append('pageSize', pageSize);
	params.append('level', 0);
	return request({
		url: 'category/queryPageListByLevel',
		method: 'post',
		data: params
	})
}